package core.json;

import java.util.ArrayList;

public class JSONResponse {
	// 成功、失败标志
	private boolean successed = false;
	// 错误信息
	private ArrayList<JSONError> errors = null;
	// 成功时返回的对象
	private Object returnObject = null;

	public boolean isSuccessed() {
		return successed;
	}

	public void setSuccessed(boolean successed) {
		this.successed = successed;
	}

	public ArrayList<JSONError> getErrors() {
		return errors;
	}

	public void setErrors(ArrayList<JSONError> errors) {
		this.errors = errors;
	}

	public Object getReturnObject() {
		return returnObject;
	}

	public void setReturnObject(Object returnObject) {
		this.returnObject = returnObject;
	}

}
